package com.ygqh.baby.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YgWeixinMessageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YgWeixinMessageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleIsNull() {
            addCriterion("template_title is null");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleIsNotNull() {
            addCriterion("template_title is not null");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleEqualTo(String value) {
            addCriterion("template_title =", value, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleNotEqualTo(String value) {
            addCriterion("template_title <>", value, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleGreaterThan(String value) {
            addCriterion("template_title >", value, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleGreaterThanOrEqualTo(String value) {
            addCriterion("template_title >=", value, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleLessThan(String value) {
            addCriterion("template_title <", value, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleLessThanOrEqualTo(String value) {
            addCriterion("template_title <=", value, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleLike(String value) {
            addCriterion("template_title like", value, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleNotLike(String value) {
            addCriterion("template_title not like", value, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleIn(List<String> values) {
            addCriterion("template_title in", values, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleNotIn(List<String> values) {
            addCriterion("template_title not in", values, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleBetween(String value1, String value2) {
            addCriterion("template_title between", value1, value2, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andTemplateTitleNotBetween(String value1, String value2) {
            addCriterion("template_title not between", value1, value2, "templateTitle");
            return (Criteria) this;
        }

        public Criteria andLinkUrlIsNull() {
            addCriterion("link_url is null");
            return (Criteria) this;
        }

        public Criteria andLinkUrlIsNotNull() {
            addCriterion("link_url is not null");
            return (Criteria) this;
        }

        public Criteria andLinkUrlEqualTo(String value) {
            addCriterion("link_url =", value, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlNotEqualTo(String value) {
            addCriterion("link_url <>", value, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlGreaterThan(String value) {
            addCriterion("link_url >", value, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlGreaterThanOrEqualTo(String value) {
            addCriterion("link_url >=", value, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlLessThan(String value) {
            addCriterion("link_url <", value, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlLessThanOrEqualTo(String value) {
            addCriterion("link_url <=", value, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlLike(String value) {
            addCriterion("link_url like", value, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlNotLike(String value) {
            addCriterion("link_url not like", value, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlIn(List<String> values) {
            addCriterion("link_url in", values, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlNotIn(List<String> values) {
            addCriterion("link_url not in", values, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlBetween(String value1, String value2) {
            addCriterion("link_url between", value1, value2, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andLinkUrlNotBetween(String value1, String value2) {
            addCriterion("link_url not between", value1, value2, "linkUrl");
            return (Criteria) this;
        }

        public Criteria andFirstDataIsNull() {
            addCriterion("first_data is null");
            return (Criteria) this;
        }

        public Criteria andFirstDataIsNotNull() {
            addCriterion("first_data is not null");
            return (Criteria) this;
        }

        public Criteria andFirstDataEqualTo(String value) {
            addCriterion("first_data =", value, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataNotEqualTo(String value) {
            addCriterion("first_data <>", value, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataGreaterThan(String value) {
            addCriterion("first_data >", value, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataGreaterThanOrEqualTo(String value) {
            addCriterion("first_data >=", value, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataLessThan(String value) {
            addCriterion("first_data <", value, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataLessThanOrEqualTo(String value) {
            addCriterion("first_data <=", value, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataLike(String value) {
            addCriterion("first_data like", value, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataNotLike(String value) {
            addCriterion("first_data not like", value, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataIn(List<String> values) {
            addCriterion("first_data in", values, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataNotIn(List<String> values) {
            addCriterion("first_data not in", values, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataBetween(String value1, String value2) {
            addCriterion("first_data between", value1, value2, "firstData");
            return (Criteria) this;
        }

        public Criteria andFirstDataNotBetween(String value1, String value2) {
            addCriterion("first_data not between", value1, value2, "firstData");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataIsNull() {
            addCriterion("keyword1_data is null");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataIsNotNull() {
            addCriterion("keyword1_data is not null");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataEqualTo(String value) {
            addCriterion("keyword1_data =", value, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataNotEqualTo(String value) {
            addCriterion("keyword1_data <>", value, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataGreaterThan(String value) {
            addCriterion("keyword1_data >", value, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataGreaterThanOrEqualTo(String value) {
            addCriterion("keyword1_data >=", value, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataLessThan(String value) {
            addCriterion("keyword1_data <", value, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataLessThanOrEqualTo(String value) {
            addCriterion("keyword1_data <=", value, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataLike(String value) {
            addCriterion("keyword1_data like", value, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataNotLike(String value) {
            addCriterion("keyword1_data not like", value, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataIn(List<String> values) {
            addCriterion("keyword1_data in", values, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataNotIn(List<String> values) {
            addCriterion("keyword1_data not in", values, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataBetween(String value1, String value2) {
            addCriterion("keyword1_data between", value1, value2, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword1DataNotBetween(String value1, String value2) {
            addCriterion("keyword1_data not between", value1, value2, "keyword1Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataIsNull() {
            addCriterion("keyword2_data is null");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataIsNotNull() {
            addCriterion("keyword2_data is not null");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataEqualTo(String value) {
            addCriterion("keyword2_data =", value, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataNotEqualTo(String value) {
            addCriterion("keyword2_data <>", value, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataGreaterThan(String value) {
            addCriterion("keyword2_data >", value, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataGreaterThanOrEqualTo(String value) {
            addCriterion("keyword2_data >=", value, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataLessThan(String value) {
            addCriterion("keyword2_data <", value, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataLessThanOrEqualTo(String value) {
            addCriterion("keyword2_data <=", value, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataLike(String value) {
            addCriterion("keyword2_data like", value, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataNotLike(String value) {
            addCriterion("keyword2_data not like", value, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataIn(List<String> values) {
            addCriterion("keyword2_data in", values, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataNotIn(List<String> values) {
            addCriterion("keyword2_data not in", values, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataBetween(String value1, String value2) {
            addCriterion("keyword2_data between", value1, value2, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword2DataNotBetween(String value1, String value2) {
            addCriterion("keyword2_data not between", value1, value2, "keyword2Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataIsNull() {
            addCriterion("keyword3_data is null");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataIsNotNull() {
            addCriterion("keyword3_data is not null");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataEqualTo(String value) {
            addCriterion("keyword3_data =", value, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataNotEqualTo(String value) {
            addCriterion("keyword3_data <>", value, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataGreaterThan(String value) {
            addCriterion("keyword3_data >", value, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataGreaterThanOrEqualTo(String value) {
            addCriterion("keyword3_data >=", value, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataLessThan(String value) {
            addCriterion("keyword3_data <", value, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataLessThanOrEqualTo(String value) {
            addCriterion("keyword3_data <=", value, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataLike(String value) {
            addCriterion("keyword3_data like", value, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataNotLike(String value) {
            addCriterion("keyword3_data not like", value, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataIn(List<String> values) {
            addCriterion("keyword3_data in", values, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataNotIn(List<String> values) {
            addCriterion("keyword3_data not in", values, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataBetween(String value1, String value2) {
            addCriterion("keyword3_data between", value1, value2, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword3DataNotBetween(String value1, String value2) {
            addCriterion("keyword3_data not between", value1, value2, "keyword3Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataIsNull() {
            addCriterion("keyword4_data is null");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataIsNotNull() {
            addCriterion("keyword4_data is not null");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataEqualTo(String value) {
            addCriterion("keyword4_data =", value, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataNotEqualTo(String value) {
            addCriterion("keyword4_data <>", value, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataGreaterThan(String value) {
            addCriterion("keyword4_data >", value, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataGreaterThanOrEqualTo(String value) {
            addCriterion("keyword4_data >=", value, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataLessThan(String value) {
            addCriterion("keyword4_data <", value, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataLessThanOrEqualTo(String value) {
            addCriterion("keyword4_data <=", value, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataLike(String value) {
            addCriterion("keyword4_data like", value, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataNotLike(String value) {
            addCriterion("keyword4_data not like", value, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataIn(List<String> values) {
            addCriterion("keyword4_data in", values, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataNotIn(List<String> values) {
            addCriterion("keyword4_data not in", values, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataBetween(String value1, String value2) {
            addCriterion("keyword4_data between", value1, value2, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword4DataNotBetween(String value1, String value2) {
            addCriterion("keyword4_data not between", value1, value2, "keyword4Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataIsNull() {
            addCriterion("keyword5_data is null");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataIsNotNull() {
            addCriterion("keyword5_data is not null");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataEqualTo(String value) {
            addCriterion("keyword5_data =", value, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataNotEqualTo(String value) {
            addCriterion("keyword5_data <>", value, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataGreaterThan(String value) {
            addCriterion("keyword5_data >", value, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataGreaterThanOrEqualTo(String value) {
            addCriterion("keyword5_data >=", value, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataLessThan(String value) {
            addCriterion("keyword5_data <", value, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataLessThanOrEqualTo(String value) {
            addCriterion("keyword5_data <=", value, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataLike(String value) {
            addCriterion("keyword5_data like", value, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataNotLike(String value) {
            addCriterion("keyword5_data not like", value, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataIn(List<String> values) {
            addCriterion("keyword5_data in", values, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataNotIn(List<String> values) {
            addCriterion("keyword5_data not in", values, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataBetween(String value1, String value2) {
            addCriterion("keyword5_data between", value1, value2, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andKeyword5DataNotBetween(String value1, String value2) {
            addCriterion("keyword5_data not between", value1, value2, "keyword5Data");
            return (Criteria) this;
        }

        public Criteria andRemarkDataIsNull() {
            addCriterion("remark_data is null");
            return (Criteria) this;
        }

        public Criteria andRemarkDataIsNotNull() {
            addCriterion("remark_data is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkDataEqualTo(String value) {
            addCriterion("remark_data =", value, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataNotEqualTo(String value) {
            addCriterion("remark_data <>", value, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataGreaterThan(String value) {
            addCriterion("remark_data >", value, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataGreaterThanOrEqualTo(String value) {
            addCriterion("remark_data >=", value, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataLessThan(String value) {
            addCriterion("remark_data <", value, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataLessThanOrEqualTo(String value) {
            addCriterion("remark_data <=", value, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataLike(String value) {
            addCriterion("remark_data like", value, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataNotLike(String value) {
            addCriterion("remark_data not like", value, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataIn(List<String> values) {
            addCriterion("remark_data in", values, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataNotIn(List<String> values) {
            addCriterion("remark_data not in", values, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataBetween(String value1, String value2) {
            addCriterion("remark_data between", value1, value2, "remarkData");
            return (Criteria) this;
        }

        public Criteria andRemarkDataNotBetween(String value1, String value2) {
            addCriterion("remark_data not between", value1, value2, "remarkData");
            return (Criteria) this;
        }

        public Criteria andPlanTimeIsNull() {
            addCriterion("plan_time is null");
            return (Criteria) this;
        }

        public Criteria andPlanTimeIsNotNull() {
            addCriterion("plan_time is not null");
            return (Criteria) this;
        }

        public Criteria andPlanTimeEqualTo(Date value) {
            addCriterion("plan_time =", value, "planTime");
            return (Criteria) this;
        }

        public Criteria andPlanTimeNotEqualTo(Date value) {
            addCriterion("plan_time <>", value, "planTime");
            return (Criteria) this;
        }

        public Criteria andPlanTimeGreaterThan(Date value) {
            addCriterion("plan_time >", value, "planTime");
            return (Criteria) this;
        }

        public Criteria andPlanTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("plan_time >=", value, "planTime");
            return (Criteria) this;
        }

        public Criteria andPlanTimeLessThan(Date value) {
            addCriterion("plan_time <", value, "planTime");
            return (Criteria) this;
        }

        public Criteria andPlanTimeLessThanOrEqualTo(Date value) {
            addCriterion("plan_time <=", value, "planTime");
            return (Criteria) this;
        }

        public Criteria andPlanTimeIn(List<Date> values) {
            addCriterion("plan_time in", values, "planTime");
            return (Criteria) this;
        }

        public Criteria andPlanTimeNotIn(List<Date> values) {
            addCriterion("plan_time not in", values, "planTime");
            return (Criteria) this;
        }

        public Criteria andPlanTimeBetween(Date value1, Date value2) {
            addCriterion("plan_time between", value1, value2, "planTime");
            return (Criteria) this;
        }

        public Criteria andPlanTimeNotBetween(Date value1, Date value2) {
            addCriterion("plan_time not between", value1, value2, "planTime");
            return (Criteria) this;
        }

        public Criteria andIsSmsIsNull() {
            addCriterion("is_sms is null");
            return (Criteria) this;
        }

        public Criteria andIsSmsIsNotNull() {
            addCriterion("is_sms is not null");
            return (Criteria) this;
        }

        public Criteria andIsSmsEqualTo(Boolean value) {
            addCriterion("is_sms =", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsNotEqualTo(Boolean value) {
            addCriterion("is_sms <>", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsGreaterThan(Boolean value) {
            addCriterion("is_sms >", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_sms >=", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsLessThan(Boolean value) {
            addCriterion("is_sms <", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsLessThanOrEqualTo(Boolean value) {
            addCriterion("is_sms <=", value, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsIn(List<Boolean> values) {
            addCriterion("is_sms in", values, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsNotIn(List<Boolean> values) {
            addCriterion("is_sms not in", values, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsBetween(Boolean value1, Boolean value2) {
            addCriterion("is_sms between", value1, value2, "isSms");
            return (Criteria) this;
        }

        public Criteria andIsSmsNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_sms not between", value1, value2, "isSms");
            return (Criteria) this;
        }

        public Criteria andSendTimeIsNull() {
            addCriterion("send_time is null");
            return (Criteria) this;
        }

        public Criteria andSendTimeIsNotNull() {
            addCriterion("send_time is not null");
            return (Criteria) this;
        }

        public Criteria andSendTimeEqualTo(Date value) {
            addCriterion("send_time =", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotEqualTo(Date value) {
            addCriterion("send_time <>", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeGreaterThan(Date value) {
            addCriterion("send_time >", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("send_time >=", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLessThan(Date value) {
            addCriterion("send_time <", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLessThanOrEqualTo(Date value) {
            addCriterion("send_time <=", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeIn(List<Date> values) {
            addCriterion("send_time in", values, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotIn(List<Date> values) {
            addCriterion("send_time not in", values, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeBetween(Date value1, Date value2) {
            addCriterion("send_time between", value1, value2, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotBetween(Date value1, Date value2) {
            addCriterion("send_time not between", value1, value2, "sendTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}